<div class="">

    <table class="table table-hover">
        <thead>
            <tr>
                <th>#</th>
                <th>用户名</th>
                <th>文件名称</th>
                <th>文件大小</th>
                <th>下载</th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let file of _datasource;let i=index">
                <td>{{i+1}}</td>
                <td>{{file.userName}}</td>
                <td>{{file.FileName}}</td>
                <td>{{file.Size}}</td>
                <td class="download-hover" ><a [href]="downloadFile(file.ID)"><span class="glyphicon glyphicon-download-alt "></span></a></td>
            </tr>
        </tbody>
    </table>

</div>